import java.util.Scanner;
public class MainApp {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入学员编号：");
        String num = scanner.next();
        System.out.println("请输入学员姓名：");
        String name = scanner.next();
        System.out.println("请输入学员性别：");
        String gender = scanner.next();
        System.out.println("请输入学员身高：");
        double height = scanner.nextDouble();
        System.out.println("请输入学员年龄：");
        int age = scanner.nextInt();

        Student s = new Student();
        s.setNum(num);
        s.setHeight(height);
        s.setName(name);
        s.setAge(age);
        s.setGender(gender);
        System.out.println(s.getNum()+","+s.getName()+","+s.getGender()
                +","+s.getHeight()+","+s.getAge());

    }
}
